package com.jyw.business.ast.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("审批管理-资产借用-分页查询-请求实体")
public class AstBorrowAuditPageDto {

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty(value = "借入科室")
    private Long inDept;

    @ApiModelProperty(value = "出借科室",hidden = true)
    private Long outDept;

    @ApiModelProperty("申请人")
    private List<Long> createUser;

    @ApiModelProperty("借用状态(1:待审核,2:驳回,3:待归还,4:已归还)")
    private String state;

    @ApiModelProperty("申请时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createStartTime;

    @ApiModelProperty("申请时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createEndTime;
}
